

jQuery(function ($) {
	var para = window.location.search;
	if (para) {
		//?type=2&&email=554355622@qq.com

		//&&切割字符串
		var values = para.split("&&");
		var type = values[0].split("=")[1];
		var email = values[1].split("=")[1];
		if (type == 1) {
			$("#Instant_success").html("还差一步就要注册成功了~");
			$("#qq_text").html(email);
		} else if (type == 2) {
			$("#Instant_success").html("还差一步密码就重置成功了~");
			$("#check_address").html('. 检查Email地址是否填写正确');
			$("#qq_text").html(email);
		} else {
			alert("没有这个类型");
		}
		// $('#again').click(function(){
		// 	window.location.href ="../login/register.html"
		// })
	}
});